﻿using SinBiota.Model.Entities;
using FluentNHibernate.Mapping;

namespace SinBiota.Model.Persistence.NHibernateMappings
{
    public class BaseEntityMapping<T> : ClassMap<T> where T : BaseEntity
    {
        public BaseEntityMapping()
        {
            Id(c => c.Id).GeneratedBy.Increment();
            Version(c => c.Version);
        }
        public const int MAXCHAR = 8000;
    }
    
}
